package GUI;

import java.io.File;
import java.net.URL;

import javazoom.jlgui.basicplayer.BasicPlayer;


public class Reproductor {
    
	public BasicPlayer player;

    public Reproductor() {
        player = new BasicPlayer();
    }
public void coge(String y){

}
    public void Play() throws Exception {
        player.play();
    }

    public void AbrirFichero(URL ruta) throws Exception {
        player.open(ruta);
    }

    public void Pausa() throws Exception {
        player.pause();
    }

    public void Continuar() throws Exception {
        player.resume();
    }

    public void Stop() throws Exception {
        player.stop();
    }
  
}